func go/types.representableConst

5 uses

	go/types (current package)
		conversions.go#L23: 		case representableConst(x.val, check, t, val):
		expr.go#L277: func representableConst(x constant.Value, check *Checker, typ *Basic, rounded *constant.Value) bool {
		expr.go#L435: 	if !representableConst(x.val, check, typ, &v) {
		index.go#L401: 		if !representableConst(x.val, check, Typ[Int], &x.val) {
		typexpr.go#L525: 			if representableConst(val, check, Typ[Int], nil) {